package com.internship.dao;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.internship.model.PracticeChange;
import com.internship.page.Pagination;

public interface PracticeChangeDao {
	public PracticeChange  getPracticeChangeById(int Id);
	public List<PracticeChange>  getPracticeChangeList(@Param("studentName") String studentName ,@Param("deptCode") String deptCode ,@Param("teacherId") String teacherId,Pagination page);
	public List<PracticeChange>  getPracticeChangeList();
	public List<PracticeChange>  getMyPracticeChangeList(@Param("studentId") String studentId ,Pagination page);
	public int addPracticeChange(PracticeChange practiceChange);
	public int editPracticeChange(PracticeChange practiceChange);
	public int reviewPracticeChange(PracticeChange practiceChange);
	public int getPracticeChangeCount(@Param("deptCode") String deptCode,@Param("teacherId") String teacherId);

}
